<%@page import="tx.bjmdr.model.*" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib tagdir="/WEB-INF/tags/simpletable" prefix="simpletable"%>
<%@ include file="/commons/taglibs.jsp" %>
<rapid:override name="head">
	<link href="<c:url value="/widgets/simpletable/simpletable.css"/>" type="text/css" rel="stylesheet">
	<script type="text/javascript" src="<c:url value="/widgets/simpletable/simpletable.js"/>"></script>
</rapid:override>
<rapid:override name="content">
<br/>
<sec:authorize ifAnyGranted="ROLE_USER">
	<div class="gridTable">

		<table width="100%"  border="0" cellspacing="0" class="gridBody">
		  <thead>

			  <tr>
				<th> 待办事项</th>
				<th> 数量</th>
			  </tr>

		  </thead>
		  <tbody>
			  <tr class="odd">
				<td><b>医疗器械不良事件报告</b></td>
				<td>&nbsp;</td>
			  </tr>
			  <tr class="even">
				<td>待评价报告</td>
				<td>&nbsp;${unEvaluteAreReportsSum }</td>
			  </tr>
			   <tr class="odd">
				<td><b>医疗器械不良事件补充报告</b></td>
				<td>&nbsp;</td>
			  </tr>
			  <tr class="even">
				<td>待评价补充报告</td>
				<td>&nbsp;${unEvaluteSupReportsSum }</td>
			  </tr>
		  </tbody>
		</table>

	</div>
	<br/><br/>
	</sec:authorize>
	<div class="gridTable">

			<table width="100%"  border="0" cellspacing="0" class="gridBody">
		  <thead>

			  <tr>
				<th style="width:1px;"> </th>

				<!-- 排序时为th增加sortColumn即可,new SimpleTable('sortColumns')会为tableHeader自动增加排序功能; -->

				<th sortColumn="info_title" ><%=Infoissue.ALIAS_INFO_TITLE%></th>
				<th sortColumn="issue_date" ><%=Infoissue.ALIAS_ISSUE_DATE%></th>
				<th sortColumn="info_type" ><%=Infoissue.ALIAS_INFO_TYPE%></th>

				<th>操作</th>
			  </tr>

		  </thead>
		  <tbody>
		  	  <c:forEach items="${page.result}" var="item" varStatus="status">

			  <tr class="${status.count % 2 == 0 ? 'odd' : 'even'}">
				<td>${page.thisPageFirstElementNumber + status.index}</td>

				<td><c:out value='${item.infoTitle}'/>&nbsp;</td>
				<td><c:out value='${item.issueDateString}'/>&nbsp;</td>
				<td><c:out value='${item.infoTypeString}'/>&nbsp;</td>
				<td>
					<a href="${ctx}/pages/Infoissue/view.do?infoissueId=${item.infoissueId}&">查看</a>&nbsp;&nbsp;&nbsp;
				</td>
			  </tr>

		  	  </c:forEach>
		  </tbody>
		</table>

	</div>

</rapid:override>

<%-- jsp模板继承,具体使用请查看: http://code.google.com/p/rapid-framework/wiki/rapid_jsp_extends --%>
<%@ include file="base.jsp" %>

